﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Student.aspx.cs" Inherits="Student" Debug="true" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <title>学生风采-河北大学管理学院信息管理系</title>
    <link href="CSS/pagebody.css" rel="stylesheet" type="text/css" />
             
 <script type="text/javascript">
     function setTab(name, num, n) {
         for (i = 1; i <= n; i++) {
             var menu = document.getElementById(name + i);
             var con = document.getElementById(name + "_" + "con" + i);
             menu.className = i == num ? "now" : "";
             con.style.display = i == num ? "block" : "none";
         }
     }
</script>


</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <!-- left start-->
  
     <div id="left">
       <div class="left-top">
      <div class="left-top-a">
               学生风采
            </div>

<div class="tab">

<div id="one1" onmouseover="setTab('one',1,2)" class="now">班级简介</div>
<div id="one2" onmouseover="setTab('one',2,2)">优秀学生</div>
</div>
<div class="list">
<div id="one_con1" >
<asp:Repeater ID="rptClass" runat="server">
                <HeaderTemplate>
                    <ul>
                </HeaderTemplate>
                <ItemTemplate>
                    <li><a href='Student.aspx?ID=<%#Eval("classID")%>,1'>
                        <%#Eval("className")%></a></li></ItemTemplate>
                <FooterTemplate>
                    </ul></FooterTemplate>
            </asp:Repeater>
            </div>
   
   <div id="one_con2" style="display:none;">
<asp:Repeater ID="rptStu" runat="server">
                <HeaderTemplate>
                    <ul>
                </HeaderTemplate>
                <ItemTemplate>
                    <li><a href='Student.aspx?ID=<%#Eval("stuID")%>,2'>
                        <%#Eval("stuName")%></a></li></ItemTemplate>
                <FooterTemplate>
                    </ul></FooterTemplate>
            </asp:Repeater>
        </div> 
</div>
</div>
</div>

 <!-- left end -->
    <!--  right start -->
    <div id="right">
        <div class="right-top">
            <div style="font-size: 14px; padding-top: 8px; padding-left: 18px">
                您的当前位置：<a href="Default.aspx">首页</a> > <a href="Student.aspx?ID=">学生风采</a> > <asp:Label
                    ID="lblTitleTop" runat="server"></asp:Label></div>
        </div>
        
        <div class="right-center">
            <h2><asp:Label ID="lblTitle" runat="server"></asp:Label></h2>
            
 <div ><asp:Label ID="lblsex" runat="server" ></asp:Label></div>
            <div><asp:Label ID="lblClass" runat="server"></asp:Label></div>
           <div > <asp:Label ID="lblContent" runat="server"></asp:Label></div>
          
               <asp:DataList ID="dtStu" runat="server" 
                    RepeatColumns="5" CellPadding="4" ForeColor="#333333">
                    <AlternatingItemStyle BackColor="White" />
                    <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                    <HeaderTemplate>
                    班内优秀学生</HeaderTemplate>
                    <ItemStyle BackColor="#E3EAEB" />
                   <ItemTemplate>
                    <a href='Student.aspx?ID=<%#Eval("stuID")%>,2'><%#Eval("stuName") %></a></ItemTemplate>
                    <SelectedItemStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
               </asp:DataList>
            </div>
           
        </div>

    <!--  right end -->
</asp:Content>

